#pragma once

#include <cuda_runtime_api.h>
#include "types.h"

extern "C" {
void yuv2rgb(unsigned char *y, unsigned char *uv, int stride_y, int stride_uv, float *rgb, int width, int height, bool is_jpeg_range);

void copy_rgb_rect(float *src, float *dst, rect_t *rect, int width, int height, float scale);
}
